package bounjour;
import java.util.HashMap;
/**
 * @author Evren Demirkan
 * @date 05.06.2011
 * This static class contains various feedback messages 
 * used in the application.
 */
public class UIFeedback {
	static private HashMap<String,String> msg = new HashMap<String,String>();
	static {
		// Populate the messages
		msg.put("login_fail", "<p class=\"failureNotification\">Username and/or Password error...</p>");
		msg.put("login_ok", "<p class=\"successNotification\">Welcome, You have succesfuly logged in.</p>");		
	}
	static public String GetMsg(String key){
		return (msg.get(key) == null) ? "" : msg.get(key);
	}
}
